<?php

/*login page*/
/*session_start();


// the case of that there is an user login 

if(isset($_SESSION['Position']))
{
if(isset($_COOKIE['Position']))
{

	// if he is admin will show    ' AdminProfile    , ControlPanel , logout '
	if(isset $_SESSION['Position']='admin')
		include('html/header_login_admin.html');

	// if he is employee will show ' EmployeeProfile , ControlPanel , logout '	
	else if(isset $_SESSION['Position']='employess')
		include('html/header_login_employee.html');
		
	// if he is customer will view ' CustomerProfile , logout '
	else if(isset $_SESSION['Position']='customer')
		include('html/header_login_customer.html');
		
	// there is no user in the session
	else 
		include('html/header_not_login.html');

// categories will be static at all pages		
include('html/left_menu.html');

// this line will be replaced according to the content that needed to be shown 
include('html/homepage_content.html');

// footer will be static at all pages 
include('html/footer.html');

}
}

*/




// tha case of that there is no users are logged in 
// it will show the header for registration and login 

//else{
include('html/header_not_login.html');
include('html/left_menu.html');
include('html/registration_content.html');
include('html/footer.html');

//}

?>